import request from '../utils/request';
import formData from '../utils/formData'
export function login(Parms) {
  const data = formData({
    ...Parms
  })
  return request({
    url: '/api/auth/login',
    method: 'post',
    data
  })
}
export function logOutIns(Parms) {
  const data = formData({
    ...Parms
  })
  return request({
    url: '/api/auth/logout',
    method: 'post',
    data
  })
}
//加载各环节完成情况
export function loadStuInfoByStu(Parms) {
  const data = formData({
    ...Parms
  })
  return request({
    url: '/cultivate/statusMonitor/loadStuInfoByStu',
    method: 'post',
    data
  })
}
export function callRoel(Parms) {
  const data = formData({
    ...Parms
  })
  return request({
    url: 'auth/authUser/loadUserInfomation',
    method: 'post',
    data
  })
}

